import { request } from 'umi';

/** 实时热榜  附件预览  */
export async function tophubAttachmentPreview(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/tophub/attachment/preview', {
    method: 'POST',
    data: options || {},
  });
}
